<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <style>
        table,tr,td{
            text-align: center;
        }

    </style>

</head>
<body>

<table border="1px" width="50%" cellpadding="0" cellspacing="0" align="center">
    <caption>学生成绩表</caption>
    <tr>
        <th>编号</th>
        <th>姓名</th>
        <th>性别</th>
        <th>成绩</th>
    </tr>
    <tr>
        <td>1</td>
        <td>小龙女</td>
        <td>女</td>
        <td>100</td>
    </tr>
    <tr>
        <td>2</td>
        <td>杨过</td>
        <td>男</td>
        <td rowspan="2">90</td>
    </tr>
    <tr>
        <td>3</td>
        <td>金毛狮王</td>
        <td>男</td>

    </tr>
    <tr>
        <td>总成绩</td>

        <td colspan="3">190</td>
    </tr>

</table>
</body>
</html>